<html jwcid="@Shell" title="Results">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Services</title>

        <link jwcid="@Style" href="info.css" media="all"/>

    </head>
    <body jwcid="@Body">
  <table width="100%" border="1">
            <tr>

       <td width="90%">
       <span jwcid="@Phones"/>
       </td>

       <td width="10%" align="center">
       <span jwcid="@ChargeButton" serviceID="ognl:@ge.info.pages.CityDistances@SERVICE_ID"></span>
       </td>
           </tr>
       </table>
       <br>

        <input jwcid="@Errors" exceptions='ognl:exceptions'/>

        <br><br><br>

        <div align='center'>

            <form jwcid="@Form">

                <input jwcid="@TextField" value="ognl:cityOne"/>
                <!--
             validators="validators:minLength=3"/>
             -->
                <input jwcid="@TextField" value="ognl:cityTwo"/>
                <!--
                      validators="validators:minLength=3"/>
                      -->
                <input jwcid="@Submit" action="listener:search" value="Search"/>
            </form>

            <br><br><br>
                <form jwcid="@Form">
            <table border="1" cellpadding="5" width="80%">

                <span jwcid="@For" source="ognl:distanceMessages" value="ognl:message">
                    <tr>
                         <span jwcid="@If" condition='ognl:message.get("CDT") == 0'>


                             <caption>
                              სახმელეთო
                             </caption>

                                 </span>

                             <span jwcid="@If" condition='ognl:message.get("CDT") == 1'>



                             <caption>
                                 <font color="red">
                              საჰაერო
                               </font>
                             </caption>


                                 </span>

                             <span jwcid="@If" condition='ognl:message.get("CDT") == 2'>



                             <caption>
                                 <font color="blue">
                              საზღვაო
                              </font>
                             </caption>
                                  </span>
                         <td>

                                    <span jwcid="@If" condition='ognl:message!=null'>

                                        <input type="Submit" jwcid="@Submit" parameters="ognl:message" value="SMS" style="width: 35px" action="listener:sendSMS"/>

                                    </span>
                              </td>
                               
                        <td width="30%">
                            <span jwcid="@Insert" value='ognl:message.get("CITY_START")'></span>
                        </td>
                        <td width="30%">
                            <span jwcid="@Insert" value='ognl:message.get("CITY_END")'></span>

                        </td>

                        <td width="10%">
                            <span jwcid="@Insert" value='ognl:message.get("CITY_DISTANCE_GEO")'></span>
                        </td>

                        <td width="30%">


                            <span jwcid="@Insert" value='ognl:message.get("NOTE_GEO")'></span>

                        </td>

                    </tr>
                </span>

            </table>
            </form>
        </div>
    </body>
</html>